package com.itrident.process;

import com.intellij.openapi.vfs.VirtualFile;
import com.itrident.data.DataSource;
import com.itrident.data.Path;
import com.itrident.TemplateUtil;

import java.util.List;

/**
 * @author cxx
 * @create 2020-12-02 23:29
 **/
public class DefaultProcess implements Process {

    @Override
    public void handle(String id, VirtualFile virtualFile, String realPath, String packagePath) {
        List<Path> paths = DataSource.getPaths (id);
        TemplateUtil.handler (paths,virtualFile,realPath,packagePath);
    }


}
